
               <script>

               	  var url=document.documentURI
                  function getUrlParam(name) {
                  var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
                  var r = window.location.search.substr(1).match(reg);  //匹配目标参数
                    if (r != null) return unescape(r[2]); return null; //返回参数值
                  }
                  if(getUrlParam('type')==1){
                  	sessionStorage.orderid=getUrlParam('order_id')
                  	window.location.href='http://webapp-api.aircnc.com.cn/h5cargo/index/rentalcarorderdetails.htm';
                      //window.location.href='http://webapp-api.aircnc.com.cn/h5cargo/index/rentalcarorderdetails.htm';
                  }else if(getUrlParam('type')==2){
                  	sessionStorage.parking_id_parkOrderDetails=getUrlParam('order_id')
                  	window.location.href="http://webapp-api.aircnc.com.cn/h5cargo/index/parkorderdetails.htm";
                     // window.location.href='http://webapp-api.aircnc.com.cn/h5cargo/index/rentalcarorderdetails.htm';
                  }
//                else{
//                	sessionStorage.parking_id_parkOrderDetails=getUrlParam('order_id')
//                  //window.location.href=config.domain+'BMW_h5/parkOrderDetails.html';
//                	window.location.href='http://192.168.1.10:8082/h5cargo/index/parkrecommend.htm';
//                    //window.location.href='http://webapp-api.aircnc.com.cn/h5cargo/index/parkrecommend.htm';
//                }
              </script>



